package com.spike.mapper;

import com.spike.model.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User findByName(String username);

    User login(@Param("username") String username, @Param("password") String password);

    User findByPhone(String phone);
}
